﻿using System;
using System.Runtime.Serialization;

namespace CyberConnect.Insteon
{
    /// <summary>
    /// Represents receipt of a Nak byte in an DeviceEcho.
    /// </summary>
    [Serializable]
    public class PlmEchoNakException : Exception
    {
        public PlmEchoNakException(string message, Exception innerException)
            : base(message, innerException) { }

        public PlmEchoNakException(string message)
            : base(message) { }

        public PlmEchoNakException()
            : base() { }

        protected PlmEchoNakException(SerializationInfo info, StreamingContext context)
            : base(info, context) { }
    }
}